Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test larger runners #632

Closed
wants to merge 4 commits into from
Closed

Conversation

egibs
Copy link
Member

@egibs egibs commented Nov 15, 2024

Using this PR to test 8- and 16-core runners now that our tests scale with core count. These are rough estimates since I haven't performed multiple runs on each size.

4-core (previous PR with the fix to actually run most of our scanning tests in parallel):

$ go test -timeout 0 ./tests/...
ok  	github.com/chainguard-dev/malcontent/tests	391.531s

Before the parallel fix, the runtime was 550-600 seconds.

8-core:

$ go test -timeout 0 ./tests/...
ok  	github.com/chainguard-dev/malcontent/tests	236.204s

16-core ARM:

$ go test -timeout 0 ./tests/...
ok  	github.com/chainguard-dev/malcontent/tests	222.552s

16-core:

$ go test -timeout 0 ./tests/...
ok  	github.com/chainguard-dev/malcontent/tests	174.358s

64-cores; definitely hitting diminishing returns:

$  go test -timeout 0 ./tests/...
ok  	github.com/chainguard-dev/malcontent/tests	152.434s

8 cores seems to be the best tradeoff between performance and cost.

Signed-off-by: egibs <[email protected]>
Signed-off-by: egibs <[email protected]>
Signed-off-by: egibs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant